import { Random } from 'mockjs';

var Mock = require('mockjs')
export default [
    {
        url: "/admin/login",
        method: "post",
        response: () => {
            return {
                code: 200,
                msg: "登陆成功",
                data: {
                    token: Random.id(),
                    userInfo: {
                        username: '超级管理员',
                        avatar: '/src/assets/logo2.png',
                    }
                }
            };
        },
    },
];